package vtt.android.dapanhc;

import vtt.android.library.utils.VttLog;
import android.app.Application;
import android.content.pm.ApplicationInfo;

public class BaseApplication extends Application {

	public static boolean isDebuggable = false;
	VttLog log;
	
	@Override
	public void onCreate() {
		super.onCreate();
		BaseApplication.isDebuggable = (0 != (getApplicationInfo().flags & ApplicationInfo.FLAG_DEBUGGABLE));
		//Log.d("BaseApplication", "BaseApplication.isDebuggable " + BaseApplication.isDebuggable);
		log = new VttLog("BaseApplication", isDebuggable);
	}

	@Override
	public void onTerminate() {
		super.onTerminate();
	}
	
}
